#include "singletab.h"
#include "gprogressbar.h"
#include "tabfactory.h"

TabFactory::TabFactory()
{
}


QWebView *TabFactory::create(QUrl url, QTabWidget *parent, QNetworkAccessManager *manager,GProgressBar *progressBar) {
    singleTab *newTab = new singleTab(parent, manager, progressBar);
    newTab->mostrapagina(url);
    return newTab;
}
